| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | /** |
||
| 13 | constructor (channel) { |
||
| 14 | super('The command must be executed in the channel: ' + channel) |
||
| 15 | /** |
||
| 16 | * The channel type required |
||
| 17 | * @type {string} |
||
| 18 | * @name InvalidChannelException#channelRequired |
||
| 19 | * @readonly |
||
| 20 | */ |
||
| 21 | this.channelRequired = channel |
||
| 22 | /** |
||
| 23 | * The fisherCode |
||
| 24 | * @readonly |
||
| 25 | * @constant |
||
| 26 | * @name InvalidChannelException#code |
||
| 27 | * @type {number} |
||
| 28 | * @default 400 |
||
| 29 | */ |
||
| 30 | this.code = 400 |
||
| 31 | } |
||
| 32 | } |
||
| 34 |